package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Banner;

import java.util.List;

/**
 * 操作广告信息相关数据接口
 */
public interface BannerMapper extends BaseMapper<Banner> {

    int updateById(Banner banner);

    Banner selectById(Integer id);

    List<Banner> selectAll(Banner banner);

}